﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using SampleApp.RandomDataGenerators;
using SampleApp.Infrastructure;

namespace SampleAppAPI
{
    public class OrderRepository
    {
        public ObservableCollection<Order> Orders { get; set; }

        private OMSOrderDataGenerator _omsOrderDataGenerator;

        public OrderRepository()
        {
            _omsOrderDataGenerator = new OMSOrderDataGenerator(20);
            _omsOrderDataGenerator.NewOMSOrderData += new NewOMSOrderDataHandler(_omsOrderDataGenerator_NewOMSOrderData);
            
        }

        void _omsOrderDataGenerator_NewOMSOrderData(object sender, OMSOrderDataEventArgs e)
        {
            
        }
    }
}
